<?php
/**
 *
 * HomeController.class.php
 * User: kalvin
 * Date: 2018/1/6
 * Time: 上午10:45
 */

namespace App\Back\Controller;


use App\Back\Model\HomeModel;
use Core\Controller;
use Core\MyPdo;

class HomeController extends Controller
{
    public function index()
    {
        $obj = new HomeModel();
        $obj->pdo->where('id', '>', '1')->find('ff');
//        $pdo->where('id','>','1');

        $this->display('index.html');
    }
}